<!--
 * @Author: Freude Xu
 * @Date: 2021-10-06 16:40:13
 * @LastEditors: Freude Xu
 * @LastEditTime: 2021-10-06 16:42:35
 * @Description: 开屏广告
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>开平广告</title>
</head>

<body>
    <img src="/Web课后练习成果/images/京东背景图.jpg" alt="gg" class="ad">
</body>
<script>
    var ad = document.querySelector('.ad');
    setTimeout(function() {
        ad.style.display = 'none';
    }, 5000)
</script>

</html>